package com.train.monitor;

public class Test {
    public static void main(String[] args) {
        SyncContainer syncContainer = new SyncContainer();
        Producer producer = new Producer(syncContainer);
        Consumer consumer = new Consumer(syncContainer);
        new Thread(producer,"producer").start();
        new Thread(consumer,"consumer").start();
    }
}
